<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>管理系统登录</title>
    <link th:href="@{/css/login.css}" rel="stylesheet" type="text/css"/>
</head>
<!--<tr th:each="user : ${userList}">
<td>
    <a href="#" th:text="${user.getName()}">...</a>
</td>
<td th:text="${user.getAge()}">1</td>
</tr>-->
<body>
<div id="login">
    <h1>盾科管理系统登录</h1>
    <form method="post" th:action="@{login}" th:object="${user}">
        <input type="text" required="required"
               placeholder="用户名"  th:field="*{account}"/>
        <input type="password" required="required"
               placeholder="密码" th:field="*{password}"/>
        <button class="but" type="submit">登录</button>
    </form>
</div>
</body>
</html>